package com.rt.system.domain;

import com.rt.common.annotation.Excel;
import com.rt.common.core.domain.BaseEntity;

/**
 * 地市对象 web_area
 * 
 * @author Yg
 * @date 2022-04-13
 */
public class WebArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 地区名称 */
    @Excel(name = "地区名称")
    private String name;

    /** 父级id */
    @Excel(name = "父级id")
    private Long pid;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态：0禁用，1启用 */
    @Excel(name = "状态：0禁用，1启用")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return "WebArea{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pid=" + pid +
                ", sort=" + sort +
                ", status=" + status +
                '}';
    }
}
